# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-unpaddedbase64
pkgver=1.1.0
pkgrel=1
pkgdesc="Base64 Encoding and Decoding without = padding"
url="https://github.com/matrix-org/python-unpaddedbase64"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/matrix-org/python-unpaddedbase64/archive/v$pkgver.tar.gz"
builddir="$srcdir/python-unpaddedbase64-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7e5954d8c4fbf55f21c8cda493e7db613feaa16224139ea550958073c182e4fba953c5f9670c72d1d0fc1402144a1dbeb9fa4df437a8ac51a29cce715e14f15d  py3-unpaddedbase64-1.1.0.tar.gz"
